<table align="center" bgcolor="#F3F3F3" style="BORDER-RIGHT:#999 1px solid; border-bottom:#999 1px solid; border-left:#999 1px solid; 
        border-top:#999 1px solid;" width="953" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
 
  <tr> 
	<td height="21" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
	 
	  <tr>
	    <td width="20" height="19" valign="top" bgcolor="#333333" style="border-bottom:#999999 2px solid;"><!--DWLayoutEmptyCell-->&nbsp;</td>
        <td width="644" valign="middle" bgcolor="#333333" style="border-bottom:#999999 2px solid;" class="style2">Resultados</td>
	    <td width="268" valign="middle" bgcolor="#333333" style="border-bottom:#999999 2px solid;" class="style2" align="right"><a href="{$conf.html}/stadistics_survey.php" class="blanco">[Estadisticas]</a></td>
	    <td width="19" valign="top" bgcolor="#333333" style="border-bottom:#999999 2px solid;"><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>
    </table></td>
  </tr>
  <tr>
    <td height="32" colspan="3" valign="top"  ><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      
      <tr>
        <td width="951" height="32" valign="bottom" align="center">Resultados de la Encuesta{*$survey.sid*}: <strong>{$survey.name}</strong></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td width="254" height="30"  >&nbsp;</td>
    <td width="644"  >&nbsp;</td>
    <td width="53"  >&nbsp;</td>
  </tr>
  <tr>
    <td   >&nbsp;</td>
    <td valign="top"  ><table  border="1" bordercolor="#999999" cellpadding="1" cellspacing="2">
      <!--DWLayoutTable-->
      <form method="GET" action="stadistics.php">
        {section name="qid" loop=$qid}
        <tr>
          <td >
            <table  border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              
              <tr>
                <td width="400" height="20" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="400" height="20" valign="top">
					<strong>
                      {section name="box" loop=1 show=$survey.hide_show_questions} 
                      &nbsp; 
                      {/section} 
                      
                      {section name="qn" loop=1 show=$question_num[qid]} 
                      {$question_num[qid]}.&nbsp; 
                      {/section} 
                      
                      {section name="req" loop=1 show=$num_required[qid]} 
                      {$survey.required} 
                      {/section}
                      
                      {$question[qid]}
					  </strong>
					   </td>
                      </tr>
                  </table>        </td>
                </tr>
              <tr>
                <td valign="top">
                  <table border="0" cellpadding="2" cellspacing="2" style="font-size:xx-small;margin-left:25px;">
                    
                    {section name="a" loop=$answer[qid].value}
                    <tr>
                      <td>{$answer[qid].value[a]}</td>
                        <td> - </td>
                        <td>{$count[qid][a]}</td>
                        <td>
                          {section name="left_right_img" loop=1 show=$show[qid].left_right_image[a]}
                          <img src="{$conf.images_html}/{$answer[qid].left_image[a]}" alt=""><img src="{$conf.images_html}/{$answer[qid].image[a]}" height="{$height[qid][a]}" width="{$width[qid][a]}" alt="{$percent[qid][a]}%"><img src="{$conf.images_html}/{$answer[qid].right_image[a]}" alt="">
                          {/section}
                            
                          {section name="left_img" loop=1 show=$show[qid].left_image[a]}
                          <img src="{$conf.images_html}/{$answer[qid].left_image[a]}" alt=""><img src="{$conf.images_html}/{$answer[qid].image[a]}" height="{$height[qid][a]}" width="{$width[qid][a]}" alt="{$percent[qid][a]}%">
                          {/section}
                            
                          {section name="right_img" loop=1 show=$show[qid].right_image[a]}
                          <img src="{$conf.images_html}/{$answer[qid].image[a]}" height="{$height[qid][a]}" width="{$width[qid][a]}" alt="{$percent[qid][a]}%"><img src="{$conf.images_html}/{$answer[qid].right_image[a]}" alt="">
                          {/section}
                            
                          {section name="middle_img" loop=1 show=$show[qid].middle_image[a]}
                          <img src="{$conf.images_html}/{$answer[qid].image[a]}" height="{$height[qid][a]}" width="{$width[qid][a]}" alt="{$percent[qid][a]}%">
                          {/section}
                        &nbsp;{$percent[qid][a]}%                  </td>
                      </tr>
                    {/section}
                    
                    {section name="totans" loop=1 show=$show.numanswers[qid]}
                    <tr>
                      
                      <td><strong>Total de Respuestas</strong></td>
                        <td> - </td>
                        <td colspan="2"><strong>{$num_answers[qid]}</strong></td>
                      </tr>
                    {/section}
                    
                    {section name="t" loop=1 show=$text[qid]}
                    <tr>
                      <td colspan="4">
                        [ <a href="{$conf.html}/stadistics.php?sid={$survey.sid}&qid={$qid[qid]}&qnum={$question_num[qid]}">Ver Respuestas</a> ]                  </td>
                      </tr>
                    {/section}
                    </table>
                  <br>                  </td>
                </tr>
            </table>		</td>
          </tr>
        {/section}
        </form>
                 
  </table></td>
    <td  >&nbsp;</td>
  </tr>
  <tr>
    <td height="24"  >&nbsp;</td>
    <td  ></td>
    <td  ></td>
  </tr>
  <tr>
    <td height="26" colspan="3" valign="top"  ><table style="border-top:#999 1px solid;"  width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
       <td height="26" align="center" valign="middle" bgcolor="#EBEBEB" style="border-top:#D7D7D7 2px solid; border-bottom:#D7D7D7 2px solid;"><strong> [ <a href="{$conf.html}/stadistics_survey.php" class="negro">Estadisticas</a> | 
           <a href="{$conf.html}/index.php" class="negro">Pagina Principal </a>]</strong></td>
      </tr>
    </table></td>
  </tr>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   <form method="GET" action="stadistics.php">
  {section name="qid" loop=$qid}

  {/section}
   </form>
  
</table>
<BR />
